package com.quwan.common.service;

import com.quwan.common.result.ApiResult;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;

public interface ContentSecurityService {
    /**
     * 文本检测
     * @param content 文本内容
     * @return
     */
    ApiResult checkContent(String content);
    /**
     * 图片检测
     * @param request
     * @return
     */
    ApiResult checkImage(HttpServletRequest request) throws IOException;
}
